module.exports = {
  devServer: {
    proxy: {
      // 好大夫( 科室 )
      '/api': {
        target: 'https://www.haodf.com/',
        ws: true,
        changeOrigin: true,
        pathRewrite: {
          '^/api': ''
        }
      },
      // 在线大夫post请求 https://guahao.haodf.com/menzhen/ajaxGetDoctorListByFaculty
      // https://guahao.haodf.com/
      '/daifu': {
        target: 'https://guahao.haodf.com/',
        ws: true,
        changeOrigin: true,
        pathRewrite: {
          '^/daifu': ''
        }
      },


      '/app': {
        target: 'http://10.9.41.49:8000/',
        ws: true,
        changeOrigin: true,
      },
    }
  }
}